package com.efast.dmom.mgmt.service.les.impl;
import java.util.List;

import com.efast.dmom.mgmt.dao.les.TwBasPartBatchDao;
import com.efast.dmom.mgmt.entity.les.TwBasPartBatch;
import com.efast.dmom.mgmt.service.les.TwBasPartBatchService;
import com.efast.dmom.mgmt.utils.Assist;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class TwBasPartBatchServiceImpl implements TwBasPartBatchService{
    @Autowired
    private TwBasPartBatchDao twBasPartBatchDao;
    @Override
    public long getTwBasPartBatchRowCount(Assist assist){
        return twBasPartBatchDao.getTwBasPartBatchRowCount(assist);
    }
    @Override
    public List<TwBasPartBatch> selectTwBasPartBatch(Assist assist){
        return twBasPartBatchDao.selectTwBasPartBatch(assist);
    }
    @Override
    public TwBasPartBatch selectTwBasPartBatchByObj(TwBasPartBatch obj){
        return twBasPartBatchDao.selectTwBasPartBatchByObj(obj);
    }
    @Override
    public TwBasPartBatch selectTwBasPartBatchById(Integer id){
        return twBasPartBatchDao.selectTwBasPartBatchById(id);
    }
    @Override
    public int insertTwBasPartBatch(TwBasPartBatch value){
        return twBasPartBatchDao.insertTwBasPartBatch(value);
    }
    @Override
    public int insertNonEmptyTwBasPartBatch(TwBasPartBatch value){
        return twBasPartBatchDao.insertNonEmptyTwBasPartBatch(value);
    }
    @Override
    public int insertTwBasPartBatchByBatch(List<TwBasPartBatch> value){
        return twBasPartBatchDao.insertTwBasPartBatchByBatch(value);
    }
    @Override
    public int deleteTwBasPartBatchById(Integer id){
        return twBasPartBatchDao.deleteTwBasPartBatchById(id);
    }
    @Override
    public int deleteTwBasPartBatch(Assist assist){
        return twBasPartBatchDao.deleteTwBasPartBatch(assist);
    }
    @Override
    public int updateTwBasPartBatchById(TwBasPartBatch enti){
        return twBasPartBatchDao.updateTwBasPartBatchById(enti);
    }
    @Override
    public int updateTwBasPartBatch(TwBasPartBatch value, Assist assist){
        return twBasPartBatchDao.updateTwBasPartBatch(value,assist);
    }
    @Override
    public int updateNonEmptyTwBasPartBatchById(TwBasPartBatch enti){
        return twBasPartBatchDao.updateNonEmptyTwBasPartBatchById(enti);
    }
    @Override
    public int updateNonEmptyTwBasPartBatch(TwBasPartBatch value, Assist assist){
        return twBasPartBatchDao.updateNonEmptyTwBasPartBatch(value,assist);
    }

    public TwBasPartBatchDao getTwBasPartBatchDao() {
        return this.twBasPartBatchDao;
    }

    public void setTwBasPartBatchDao(TwBasPartBatchDao twBasPartBatchDao) {
        this.twBasPartBatchDao = twBasPartBatchDao;
    }

}